package com.tuanzi.loan.business.repository.statistics;

import com.tuanzi.loan.business.entity.statistics.ImeiRecord;
import com.tuanzi.loan.business.entity.statistics.ImeiStat;
import com.tuanzi.loan.vo.request.statistics.imei.ImeiStatRequest;
import com.tuanzi.loan.vo.response.statistics.imei.ImeiStatResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ImeiStatRepository {
    Page<ImeiStatResponse> list(ImeiStatRequest searchRequest, Pageable pageable);

    void insert(ImeiStat imeiStat);

    Integer getRegisterCount(ImeiRecord record);

    Integer getLoginCount(ImeiRecord record);

    void deleteById(Long id);

    List<String> getRegisterList(ImeiRecord record);

    List<String> getLoginList(ImeiRecord record);
}
